package com.imooc.bilibili.dao;

import com.imooc.bilibili.domain.UserFollowingGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserFollowingGroupDao {

    UserFollowingGroup getByType(String type);

    UserFollowingGroup getById(Long id);

    List<UserFollowingGroup> getUserAllGroup(Long userId);

    void addUserFollowGroups(UserFollowingGroup userFollowingGroup);

    List<UserFollowingGroup> getUserFollowingGroups(Long userId);
}
